package com.entity;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

public class Singer {
	private Integer singerId;
	private String singerName;
	private String seName;
	private String state;
	private String address;
	private String work;
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date birthday;
	private String singerPhoto;
	private Integer singerTypeId;
	public Integer getSingerId() {
		return singerId;
	}
	public void setSingerId(Integer singerId) {
		this.singerId = singerId;
	}
	public String getSingerName() {
		return singerName;
	}
	public void setSingerName(String singerName) {
		this.singerName = singerName;
	}
	public String getSeName() {
		return seName;
	}
	public void setSeName(String seName) {
		this.seName = seName;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getWork() {
		return work;
	}
	public void setWork(String work) {
		this.work = work;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getSingerPhoto() {
		return singerPhoto;
	}
	public void setSingerPhoto(String singerPhoto) {
		this.singerPhoto = singerPhoto;
	}

	public Integer getSingerTypeId() {
		return singerTypeId;
	}
	public void setSingerTypeId(Integer singerTypeId) {
		this.singerTypeId = singerTypeId;
	}
	@Override
	public String toString() {
		return "Singer [singerId=" + singerId + ", singerName=" + singerName + ", seName=" + seName + ", state=" + state
				+ ", address=" + address + ", work=" + work + ", birthday=" + birthday + ", singerPhoto=" + singerPhoto
				+ ", singerTypeId=" + singerTypeId + "]";
	}
	
}
